package demo.day14;
// 懒汉式单例的实现 java版本
public class _04JavaInstanceDay14 {
    private static _04JavaInstanceDay14 instance;
    private _04JavaInstanceDay14(){

    }
    public static _04JavaInstanceDay14 getInstance(){
        if (instance == null){
            instance = new _04JavaInstanceDay14();
        }
        return instance;
    }
}
